﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Arizu.Repository;
using System.Data;

namespace AiRiZu.User
{
    public partial class ChangePassword : Common
    {
        public string Password { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["LogId"] == null)
            {
                return;
            }
            AirizuUser airizuUser = AirizuUser.CreateInstance();

            DataTable dt = airizuUser.GetUser(int.Parse(Session["LogId"].ToString()));

            if (dt.Rows.Count > 0)
            {
                Password = dt.Rows[0]["Pass"].ToString();
            }
        } 
    }
}
